					<tr <?php echo ( @(int)$task->duedate > 0 && strtotime($task->duedate) < time() && (int)$task->state == 0 ) ? 'class="overdue"' : ''; ?> id="tr_<?php echo $task->task_id ?>">
						<td width="5%">
							<span class="left">
								<input class="task_checkbox" type="checkbox" id="<?php echo $task->task_id ?>" name="<?php echo $task->task_id ?>" <?php echo @$task->state == 1 ? 'checked="checked"':'' ?>/>
							</span>
						</td>
						<td>
							<span id="contentid_<?php echo $task->task_id ?>" class="task_content <?php echo @$task->state == 1 ? 'stroke':'' ?> <?php echo @getPiorityCSS_class($task->priority) ?>" onmouseover="document.getElementById(this.id).style.cursor='pointer';" title="<?php echo @htmlspecialchars($task->tags) ?>">
								<?php echo htmlspecialchars($task->content) ?>
							</span>
						</td>
						<td width="18%">
							<span class="task_delete">
								<a href="" id="downlink_<?php echo $task->task_id ?>" class="down_link"><img src="/img/down.png"/></a>
								<div id="submenu_<?php echo $task->task_id ?>" class="task_submenu">
									<span class="span_priority"><?php echo lang('priority') ?> 
										<a href="" class="priority_1 priority_link" id="priority_1_<?php echo $task->task_id ?>">3</a> 
										<a href="" class="priority_2 priority_link" id="priority_2_<?php echo $task->task_id ?>">2</a> 
										<a href="" class="priority_3 priority_link" id="priority_3_<?php echo $task->task_id ?>">1</a>
									</span>
									<span><a href="" id="delete_<?php echo $task->task_id ?>" class="task_delete_link"><?php echo lang('delete') ?></a></span>
								</div>
							</span>
							<span class="task_date">
								<?php echo date('d-M H:i', gmt_to_local($task->date_created, $this->session->userdata('tz'), date('I',$task->date_created))) ?>
							</span>
							<input type="hidden" name="tags_<?php echo $task->task_id ?>" id="tags_<?php echo $task->task_id ?>" value="<?php echo @htmlspecialchars($task->tags) ?>"/>							
							<input type="hidden" name="duedate_<?php echo $task->task_id ?>" id="duedate_<?php echo $task->task_id ?>" value="<?php echo @(int)$task->duedate > 0 ? date('d-m-Y', strtotime($task->duedate)) : ''; ?>"/>
						</td>
					</tr>
